/***************************************************************************
 *   Copyleft 2006-2007 by												   *
 *	 Iwanicki Krzysztof													   *
 *   <gamma.mini.pw.edu.pl/~iwanickik>									   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 ***************************************************************************/
#include "./BSplineInterpolationManager.h"
#include "../../resource.h"

/**************************************************************
* Constructors                                                *
***************************************************************/

    
/**************************************************************
* Operators                                                   *
***************************************************************/


/**************************************************************
* Other helpful functions                                     *
***************************************************************/
/*virtual*/ cVoid BSplineInterpolationManager::OnCommand(HWND hwnd, WPARAM wParam, LPARAM lParam, Engine3D* engine) {
	cUShort cmd = LOWORD(wParam);
	
	if (mObject) {
		switch(cmd) {
			case ID_ELLIPSOID_SHOWBB:
				((BSplineInterpolation*) mObject)->SwitchParametrization();
				break;
			default:
				PointsSetManager::OnCommand(hwnd, wParam, lParam, engine);
		}
	}
}